﻿using DataType.CustomEnumType;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataType.JudgeResults
{
    public class GetOffJudgeResult : IJudgeResult
    {
        private int obj_id;
        private ActionType action_type = ActionType.GetOff;
        private bool is_success;
        private int target_obj_id;
        private int curHex;

        public int ObjID => obj_id;

        public ActionType ActionType => action_type;

        public bool IsSuccess => is_success;

        public int TargetObjID { get => target_obj_id; set => target_obj_id = value; }
        public int CurHex { get => curHex; set => curHex = value; }

        public GetOffJudgeResult(int obj_id, bool is_success, int target_obj_id, int curHex)
        {
            this.obj_id = obj_id;
            this.is_success = is_success;
            this.target_obj_id = target_obj_id;
            this.curHex = curHex;
        }
    }
}
